package cn.afactory.tygz.ui.base.views.search;

import android.content.Context;
import android.text.TextUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Kenneth on 15/9/9.
 */
public enum SearchSourcePager {

    COMPANY(0, "shequ", "请输入你要搜索的公司名称", "附近的老乡"),
    TOPIC(1, "topic","请输入你要搜索的话题","社区");

    int id;
    String tips;
    String name;
    String source;

    SearchSourcePager(int id, String name, String tips, String source) {
        this.id = id;
        this.name = name;
        this.tips = tips;
        this.source = source;
    }

    public int getId() {
        return this.id;
    }

    public String getName() {
        return name;
    }

    public String getTips() {
        return this.tips;
    }

    public String getSource() {
        return source;
    }

    /**
     * 获取搜索类型
     *
     * @param ssp
     * @return
     */
    public static List<SearchTypeEntity> getSearchTypeBy(Context context, SearchSourcePager ssp) {
        List<SearchTypeEntity> list = new ArrayList<SearchTypeEntity>();
        return list;
    }
}
